package com.xuedongzhilian.dto;

import lombok.Data;

/**
 * <p>
 * 试卷题目DTO
 * </p>
 *
 * @author 学动智联团队
 * @since 2025-10-14
 */
@Data
public class ExamQuestionDTO {
    private Long id;
    private Long paperId;
    private Integer questionNumber;
    private Integer questionType;
    private String content;
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;
    private String optionE;
    private String optionF;
    private String correctAnswer;
    private String explanation;
    
    // 添加无参构造函数
    public ExamQuestionDTO() {}
    
    // 添加全参构造函数
    public ExamQuestionDTO(Long id, Long paperId, Integer questionNumber, Integer questionType, 
                          String content, String optionA, String optionB, String optionC, 
                          String optionD, String optionE, String optionF, 
                          String correctAnswer, String explanation) {
        this.id = id;
        this.paperId = paperId;
        this.questionNumber = questionNumber;
        this.questionType = questionType;
        this.content = content;
        this.optionA = optionA;
        this.optionB = optionB;
        this.optionC = optionC;
        this.optionD = optionD;
        this.optionE = optionE;
        this.optionF = optionF;
        this.correctAnswer = correctAnswer;
        this.explanation = explanation;
    }
}